package com.woniu.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "订单搜索条件业务对象")
public class QueryOrderDTO {


    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("靶场id")
    private Integer trainingId;

    @ApiModelProperty("支付宝交易编号")
    private String tradeNo;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("支付状态")
    private Byte status;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
